<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>里程密-官方后台</title>

</head>

<body>
    <div id="wrapper">
        <!-- start left -->
               <include file="Public/left" />
         <!-- end left -->
        <div id="page-wrapper" class="gray-bg dashbard-1">
        <!-- start top -->
        <include file="Public/top"/>
        <!-- end top -->
        <div class="row">
            <div class="col-lg-12">
                <div class="wrapper wrapper-content">
                        <div class="row">
                    <div class="col-lg-3">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <span class="label label-success pull-right">会员总数</span>
                                <h5>会员数量</h5>
                            </div>
                            <div class="ibox-content">
                                <h1 class="no-margins">{$userCount}</h1>
                                <div class="stat-percent font-bold text-success">User<i class="fa fa-bolt"></i></div>
                                <small>本站会员总数</small>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-3">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <span class="label label-info pull-right">文章数量</span>
                                <h5>文章数量</h5>
                            </div>
                            <div class="ibox-content">
                                <h1 class="no-margins">{$articleCount}</h1>
                                <div class="stat-percent font-bold text-info">Article<i class="fa fa-level-up"></i></div>
                                <small>本站文章总数</small>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-3">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <span class="label label-primary pull-right">留言数量</span>
                                <h5>留言数量</h5>
                            </div>
                            <div class="ibox-content">
                                <h1 class="no-margins">{$liuyanCount}</h1>
                                <div class="stat-percent font-bold text-navy">Message<i class="fa fa-level-up"></i></div>
                                <small>本站留言总数</small>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-3">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <span class="label label-danger pull-right">评论数量</span>
                                <h5>评论数量</h5>
                            </div>
                            <div class="ibox-content">
                                <h1 class="no-margins">{$commentCount}</h1>
                                <div class="stat-percent font-bold text-danger">Comment<i class="fa fa-level-down"></i></div>
                                <small>本站评论总数</small>
                            </div>
                        </div>
            </div>
        </div>
        <div class="row">
        <div class="col-lg-2">
                    <div class="widget navy-bg p-lg text-center">
                        <div class="m-b-md">
                            <i class="fa fa-shield fa-4x"></i>
                            <h1 class="m-xs">Power</h1>
                            <h3 class="font-bold no-margins">
                                作者
                            </h3>
                            <small>信息</small>
                        </div>
                    </div>
                </div>
                <div class="col-lg-4">
                        <div class="widget-head-color-box navy-bg p-lg text-center">
                            <div class="m-b-md">
                            <h2 class="font-bold no-margins">
                                MonkeyCode
                            </h2>
                                <small>一个苦逼的码农</small>
                            </div>
                            <img src="http://www.lcm.wang/Public/Uploads/2015-08-09/55c706df4710a.png" class="img-circle circle-border m-b-md" alt="profile" width="128px;">
                            <div>
                                <span>我不惧怕敌人是因为我有队友</span> |
                            </div>
                        </div>
                        <div class="widget-text-box">
                            <h4 class="media-heading">他说</h4>
                            <p>爱上网，爱装逼，但是不搞基. <br>欢迎使用里程密开源博客系统，希望我们一起把里程密做的更好</p>
                        </div>
                </div>
                <div class="col-lg-2">
                    <div class="widget lazur-bg p-lg text-center">
                        <div class="m-b-md">
                            <i class="fa fa-warning fa-4x"></i>
                            <h1 class="m-xs">Blog</h1>
                            <h3 class="font-bold no-margins">
                                程序
                            </h3>
                            <small>信息</small>
                        </div>
                    </div>
                    </div>
                <div class="col-lg-4">
                    <div class="widget lazur-bg p-xl">
                                <h2>
                                    里程密开源博客系统
                                </h2>
                        <ul class="list-unstyled m-t-md">
                            <li>
                                <label>官网网址：</label>
                                <a href="http://www.lcm.wang/">{$version.gfurl}</a>
                            </li>
                            <li>
                                <label>交流群群号：</label>
                                    {$version.qun}
                            </li>
                            <li>
                                <label>当前系统版本：</label>
                                V2.0
                            </li>
                            <if condition = "$version.version eq 2.0">
                            <li>
                                <label>最新系统版本：</label>
                                V{$version.version}  <br>
                                恭喜您，当前是最新版本
                            </li>
                            <else />
                            <li>
                                <label>最新系统版本：</label>
                                <span style = "color:red;">V{$version.version}<a href="{$version.gxurl}" target="_blank">点击进行预览</a> <br>
                                <a href="<if condition = "$urlSite neq '1'">{:U('OnlineUpdate/down_zip',array('url'=>$version['one'],'name'=>$version['two'],'dirname'=>$version['three']))}<else / >{:U('OnlineUpdate/down_zip')}?url={$version.one}&name={$version.two}&dirname={$version.three}</if>" target="_blank" onclick="return shifou()">点击进行更新</a>
                                <br>更新日期：{$version.gxctime}</span>
                            </li>
                            <li>
                                <label>更新细节：</label>
                               {$version.content}
                            </li>
                            </if>
                        </ul>

                    </div>
                </div>

            </div>
        <div class="row">
        <div class="col-lg-2">
                    <div class="widget yellow-bg p-lg text-center">
                        <div class="m-b-md">
                            <i class="fa fa-shield fa-4x"></i>
                            <h1 class="m-xs">System</h1>
                            <h3 class="font-bold no-margins">
                                系统
                            </h3>
                            <small>信息</small>
                        </div>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="widget yellow-bg p-xl">
                                <h2>
                                    操作系统：<?php echo  php_uname('s')?>
                                </h2>
                        <ul class="list-unstyled m-t-md">
                            <li>
                                <label>PHP运行方式：</label>
                                <?php echo  php_sapi_name()?>
                            </li>
                            <li>
                                <label>当前文件路径：</label>
                                    <?php echo  __FILE__?>
                            </li>
                            <li>
                                <label>服务器IP：</label>
                                <?php echo  $_SERVER['REMOTE_ADDR'];?>
                            </li>
                            <li>
                                <label>服务器域名：</label>
                                <?php echo  $_SERVER["HTTP_HOST"];?>
                            </li>
                            <li>
                                <label>服务器语言：</label>
                                <?php echo  $_SERVER['HTTP_ACCEPT_LANGUAGE'];?>
                            </li>
                            <li>
                                <label>服务器WEB端口：</label>
                                <?php echo  $_SERVER['SERVER_PORT'];?>
                            </li>
                            <li>
                                <label>服务器CPU数量：</label>
                                <?php echo  $_SERVER['PROCESSOR_IDENTIFIER'];?>
                            </li>
                            <li>
                                <label>服务器当前时间：</label>
                                <?php echo  date("Y-m-d H:i:s",time());?>
                            </li>
                        </ul>

                    </div>
                </div>
                <div class="col-lg-2">
                    <div class="widget red-bg p-lg text-center">
                        <div class="m-b-md">
                            <i class="fa fa-warning fa-4x"></i>
                            <h1 class="m-xs">PHP</h1>
                            <h3 class="font-bold no-margins">
                                程序
                            </h3>
                            <small>信息</small>
                        </div>
                    </div>
                    </div>
                <div class="col-lg-4">
                    <div class="widget red-bg p-xl">
                                <h2>
                                    PHP版本：<?php echo  PHP_VERSION;?>
                                </h2>
                        <ul class="list-unstyled m-t-md">
                            <li>
                                <label>上传最大限制：</label>
                                <?php echo  ini_get('post_max_size');?>
                            </li>
                            <li>
                                <label>错误是否打开：</label>
                                    <?php echo  ini_get ( 'display_errors' );?>
                            </li>
                        </ul>

                    </div>
                </div>

            </div>
                </div>
                </div>
            <!-- start footer -->
                    <include file="Public/footer" />
            <!-- end footer -->
            </div>
        </div>

        </div>

    </div>
</body>
</html>
